package com.whl.sm.service.system;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whl.sm.common.result.Result;
import com.whl.sm.dto.SysMenuDto;
import com.whl.sm.dto.TransferDto;
import com.whl.sm.model.system.UserCpRole;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuhaolun
 * @since 2021-09-10
 */
public interface UserCpRoleService extends IService<UserCpRole> {
    List<SysMenuDto> getUserMenuTree(String userId);

    int updateUserRole (UserCpRole userCpRole);

    List<TransferDto> getComMagUserList();

    Result getByCurrent(String userId);
}
